using Dew.Math;
using Dew.Math.Units;
using Dew.Stats.Units;
namespace Dew.Examples
{
private void Example(Dew.Stats.QCSeries QCSeries1)
{
Vector data =
new Vector(0);
Vector outofcontrol =
new Vector(0);
VectorInt indexes =
new VectorInt(0);
data.LoadFromFile("process_data.vec");
StatControlCharts.QCWestgardRules(data,outofcontrol,data.Mean(),data.StdDev());
// Now find indexes of out-of-control points
indexes.FindIndexes(outofcontrol,">",0);
// indexes.IValues now stores the indices of out-of-control points
}
}